package com.ljj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liujiju
 * @since 2021-11-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Answer对象", description="")
public class Answer implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "答疑表ID")
    @TableId(value = "aId", type = IdType.AUTO)
    private Integer aId;

    @ApiModelProperty(value = "学生ID")
    @TableField("sId")
    private Integer sId;

    @ApiModelProperty(value = "教师ID")
    @TableField("tId")
    private Integer tId;

    @ApiModelProperty(value = "提出问题")
    private String tproblem;

    @ApiModelProperty(value = "问题答案")
    private String aanswer;

    private Integer default1;

    private String default2;


}
